import Vue from 'vue'
import App from './App'
import axios from 'axios'
import router from './router'
import ElementUI from 'element-ui' // 引入element-ui
import 'element-ui/lib/theme-chalk/index.css'
import config from "../config"

Vue.prototype.customConfig = config
Vue.prototype.$http = axios // 类似于vue-resource的调用方法
Vue.config.productionTip = false
Vue.use(ElementUI) // Vue全局使用

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
